package com.yushu.base.service;

import com.baomidou.mybatisplus.service.IService;
import com.yushu.base.pojo.bo.Dic;
import com.yushu.base.pojo.vo.DicVO;
import com.yushu.common.util.pager.Pages;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

import com.yushu.base.pojo.vo.DicSetVO;
import com.yushu.base.pojo.bo.DicSet;


/**
 * 
 * @author test
 * @CreateDate 2020-12-03 15:47:25
 */
public interface DicSetService extends IService<DicSet> {
    Pages<DicSetVO> page(Pages<DicSetVO> page);

    DicSet updateByKey(DicSet dicSet);

    String checkRepeat(Map map);

    List<DicSet> selectList(DicSet dicSet);

    List<DicSet> selectDicSetList(String dicId);

    boolean deleteBatch(List<DicVO> dics, List<DicSet> dicSets);

    boolean insertBatch(DicVO dic, List<DicSet> dicSets);

    void deleteBatch(List<DicSet> dicSets);
}
